/*
** world.h for zomzom in /home/goupil_r//GameInLab/game1
** 
** Made by robin goupil
** Login   <goupil_r@epitech.net>
** 
** Started on  Thu Nov 15 18:25:23 2012 robin goupil
** Last update Sat Nov 17 14:24:58 2012 robin goupil
*/

#ifndef WORLD_H_
# define WORLD_H_

#include "zombie.h"
#include "player.h"

typedef struct	s_world
{
  int		size_x;
  int		size_y;
  SDL_Rect	background_pos;
  SDL_Surface	*background;
  SDL_Surface	*screen;
  t_reticle	*reticle;
  t_player	*player;
  t_zombie	*zombie;
} t_world;

t_world		*create_world(char *bg_path, int size_x, int size_y, SDL_Surface *screen);
void		put_reticle_in_world(t_world *world, t_reticle *reticle);
void		put_player_in_world(t_world *world, t_player *player);
void		put_zombie_in_world(t_world *world, t_zombie *zombie);

#endif /* !WORLD_H_ */
